package com.cn.common;

import java.io.Serializable;

public class PullResult implements Serializable {

    private PullResultStatus status;

    private long minOffset;

    private long maxOffset;

    private long nextOffset;

    private long totalMsgSize;

    private byte[] bodys;

    public PullResultStatus getStatus() {
        return status;
    }

    public void setStatus(PullResultStatus status) {
        this.status = status;
    }

    public long getMinOffset() {
        return minOffset;
    }

    public void setMinOffset(long minOffset) {
        this.minOffset = minOffset;
    }

    public long getMaxOffset() {
        return maxOffset;
    }

    public void setMaxOffset(long maxOffset) {
        this.maxOffset = maxOffset;
    }

    public long getNextOffset() {
        return nextOffset;
    }

    public void setNextOffset(long nextOffset) {
        this.nextOffset = nextOffset;
    }

    public long getTotalMsgSize() {
        return totalMsgSize;
    }

    public void setTotalMsgSize(long totalMsgSize) {
        this.totalMsgSize = totalMsgSize;
    }

    public byte[] getBodys() {
        return bodys;
    }

    public void setBodys(byte[] bodys) {
        this.bodys = bodys;
    }
}
